﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _35派生类的构造函数
{
    class Base
    {
        public Base():this(0)
        {
            
        }
        public Base(int x) : this(x,0)
        {
            
        }
        public Base(int x,int y)
        {
            Console.WriteLine("Base有参数的构造函数携带的参数是" + x+"另一个参数是:"+y);
        }
    }
}
